StoreEngine\Integrations\MembershipAddon B

Total Complexity 76
Dependencies 8
Dependents 1
Total lines 371
Lines of code 300
Logical lines of code 162
Comment lines 6
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
handle_order_unpaid_status()
B
38 17 67
purchase_created()
A
40 12 58
is_available_membership()
S
57 6 19
change_enrollment_form()
S
59 5 14
generate_enrollment_form()
S
69 4 6
get_course_integrations()
S
59 3 14
get_items()
S
54 2 23
get_only_membership_integrations()
S
66 3 9
is_purchased_membership()
S
67 3 8
modify_course_type()
S
66 3 8
update_course_enroll_status()
S
60 2 12
is_enrolled()
S
70 2 6
stop_from_redirecting()
S
72 2 6
get_post_id()
S
70 2 6
get_id()
S
82 1 3
get_enrollment_template()
S
65 1 9
load_enrolled_template()
S
69 1 7
get_item()
S
82 1 3
get_items_label()
S
79 1 3
enabled()
S
80 1 3
course_type()
S
79 1 3
get_logo()
S
79 1 3
get_label()
S
79 1 3
__construct()
S
67 1 7